package com.qst.crop.dao;

import com.qst.crop.entity.Purchase;
import com.qst.crop.model.MyPurchase;
import org.apache.ibatis.annotations.Param;
import org.springframework.data.domain.Pageable;
import java.util.List;


public interface PurchaseDao {

    int insertSelective(Purchase record);
    Purchase selectNewPurchaseId(@Param("ownName")String ownName);

    List<MyPurchase> selectByPurchase(String name);
}

